//
//  GSShader.h
//  GSEngine
//
//  Created by Гукун Александр on 2/13/14.
//  Copyright (c) 2014 SNK. All rights reserved.
//

#ifndef __GSEngine__GSShader__
#define __GSEngine__GSShader__

#include <iostream>
#include "GSResource.h"
#include <GSEngine/Math/GSMath.h>

namespace GSEngine
{
    class GSShader : public GSResource
    {
    private:
        // data
        unsigned char* m_data;
        bool m_isLoaded;
        int m_size;
    public:
        // methods
        GSShader();
        ~GSShader();
        void loadShaderSource(const char* path, const char* permission);
        bool isLoadedShader();
        unsigned char* getData();
        int getSize();
    };
}


#endif /* defined(__GSEngine__GSShader__) */
